-
Home
-
WooCommerce PayPal Payments
-
2.9.0
-
Code
-
Classes
- Button
| Total Complexity |
50 |
| Dependencies |
11 |
| Dependents |
0 |
| Total lines |
481 |
| Lines of code |
272 |
| Logical lines of code |
127 |
| Comment lines |
137 |
| Methods |
15 |
| Properties |
9 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| render() |
A |
39 |
12 |
80 |
| script_data() |
A |
47 |
7 |
34 |
| add_partner_referrals_data() |
S |
55 |
6 |
19 |
| add_onboarding_options() |
S |
56 |
4 |
18 |
| button_styles_for_context() |
S |
57 |
4 |
16 |
| filter_partner_referrals_option() |
S |
64 |
4 |
10 |
| enqueue() |
S |
57 |
2 |
19 |
| is_enabled() |
S |
69 |
3 |
7 |
| enqueue_styles() |
S |
63 |
2 |
12 |
| enqueue_admin() |
S |
56 |
1 |
22 |
| __construct() |
S |
63 |
1 |
11 |
| initialize() |
S |
71 |
1 |
5 |
| googlepay_button() |
S |
72 |
1 |
7 |
| hide_gateway_until_eligible() |
S |
70 |
1 |
9 |
| wc_countries() |
S |
81 |
1 |
3 |